package org.example.domain;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Log implements Serializable {

    private Integer id;

    /**
     * 用户名称
     */
    private String username;

    /**
     * 登录的ip
     */
    private String ip;

    /**
     * 角色id
     */
    private Integer roleId;

    /**
     * 登录时间
     */
    private LocalDateTime loginTime;

}